import java.util.List;

public class TestCard {
    public static void main(String[] args) {
        Pai pai = new Pai();
        List<Card> cardList = pai.buyCard();
        System.out.println(cardList);
        pai.shuffle(cardList);
        System.out.println(cardList);
        List<List<Card>> ret = pai.play(cardList);
        for (int i = 0; i < ret.size(); i++) {
            System.out.println("第" + (i + 1) + "个人的牌：" + ret.get(i));

        }

    }

}
